package com.example.testgit.VO;

import lombok.Data;

/**
 * @author: lyh
 * @create: 2023/3/29 10:51
 * Description：
 */
@Data
public class QueryPage {

    private Integer pageNum;

    private Integer pageSize;

    public Integer getPageNum() {
        return pageNum = "".equals(pageNum) || pageNum ==null ? 1 : pageNum;
    }

    public Integer getPageSize() {
        return pageSize = "".equals(pageSize) || pageSize ==null ? 5 : pageSize;
    }
}
